int main()
{
	int depart (int number, int y);
	
	int i, n, number;
	cin >> n;
	for (i = 1; i <= n; i++)
	{
		cin >> number;
		cout << depart (number, 2) << endl;
	}
	
	return 0;
}